<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
    <script>
        function Controller() {
        
        }
        function UserController(name) {
            this.name= name
        }
        Controller.prototype.make=function() {
            console.log(this.name)
        }
        UserController.prototype=Object.create(Controller.prototype)
        let user=new UserController('wsz')
        user.make()
    </script>
</body>
</html>